package com.heart.common.utils;

import java.util.Random;
import java.util.UUID;

public class RandomUtils {
    public static String uuid(){
        return UUID.randomUUID().toString();
    }

    public static String simpleUuid(){
        return uuid().replace("-","");
    }

    public static String randomNumber(){
        Random random = new Random();
        return String.valueOf( random.nextInt(10));
    }
}
